package com.freesky.biz.activity.service;

import com.freesky.biz.activity.domain.TSmsCode;

import java.util.List;

public interface ISmsCodeService {

    public List<TSmsCode> findList(TSmsCode entity);

    public boolean checkValidCode(String mobile,String code);

    public int sendSmsCode(String mobile,
                           String templateCode,
                           String openId,
                           String origin);

    public int sendPsbcCardNo(String mobile,
                              String templateCode,
                              String templateParam,
                              String openId,
                              String origin);
}
